home *** CD-ROM | disk | FTP | other *** search
- global i, pno, glocv1, gloch1, x1, x2, y1, y2, high1, haba1, ga
-
- on startMovie
- set mycursor to [1, 2]
- repeat with i = 13 to 26
- set the cursor of sprite i to mycursor
- end repeat
- set glocv1 to 26
- set gloch1 to 25
- set high1 to 474
- set haba1 to 590
- set x1 to 25
- set x2 to 25
- set y1 to -116
- set y2 to 26
- set volset to the soundLevel
- if the soundEnabled = 0 then
- set the soundEnabled to 1
- end if
- end
-
- on doexit
- sound stop 1
- go(1, "YUIMAIN")
- end
-
- on crtexit
- puppetSprite(40, 1)
- repeat while the stillDown
- set the memberNum of sprite 40 to 33
- updateStage()
- end repeat
- set the memberNum of sprite 40 to 32
- updateStage()
- puppetSprite(40, 0)
- end
-
- on crtnext
- puppetSprite(42, 1)
- repeat while the stillDown
- set the memberNum of sprite 42 to 37
- updateStage()
- end repeat
- set the memberNum of sprite 42 to 36
- updateStage()
- puppetSprite(42, 0)
- puppetSprite(2, 0)
- syokisettei()
- end
-
- on crtback
- puppetSprite(43, 1)
- repeat while the stillDown
- set the memberNum of sprite 43 to 39
- updateStage()
- end repeat
- set the memberNum of sprite 43 to 38
- updateStage()
- puppetSprite(43, 0)
- puppetSprite(2, 0)
- syokisettei()
- end
-
- on crtp1
- puppetSprite(pno, 1)
- repeat while the stillDown
- set the memberNum of sprite pno to pno - 7
- updateStage()
- end repeat
- set the memberNum of sprite pno to pno - 15
- updateStage()
- puppetSprite(pno, 0)
- puppetSprite(2, 0)
- syokisettei()
- end
-
- on crtclose
- puppetSprite(41, 1)
- repeat while the stillDown
- set the memberNum of sprite 41 to 35
- updateStage()
- end repeat
- set the memberNum of sprite 41 to 34
- updateStage()
- puppetSprite(41, 0)
- puppetSprite(2, 0)
- syokisettei()
- end
-
- on syokisettei
- set glocv1 to 26
- set gloch1 to 25
- set high1 to 474
- set haba1 to 590
- set x1 to 25
- set x2 to 25
- set y1 to -116
- set y2 to 26
- end
-